package com.ruoyi.eamp.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.eamp.domain.EampMeetingPeople;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public class EampMeetingVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 会议id */
    private Long meetingId;

    /** 会议名称 */
    @Excel(name = "会议名称")
    private String meetingName;

    /** 会议室地点 */
    @Excel(name = "会议室地点")
    private Long meetingRoomId;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creatBy;

    /** 会议状态 */
    @Excel(name = "会议状态")
    private String staus;

    /** 删除(0删除 1正常) */
    @Excel(name = "删除(0删除 1正常)")
    private Long delFlg;

    /** 紧急程度 */
    @Excel(name = "紧急程度")
    private String urgency;

    /** 会议类型 */
    @Excel(name = "会议类型")
    private String meetingType;

    /** 开始时间 */

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss"  ,timezone="GMT+8")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

//    private LocalDateTime startDate;

    /** 结束时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private List<Date> startAndEnd;



    /** 密码 */
    @Excel(name = "密码")
    private String meetingPassword;

    /** 附件 */
    @Excel(name = "附件")
    private String attachments;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    public Long getCrateby() {
        return crateby;
    }

    public void setCrateby(Long crateby) {
        this.crateby = crateby;
    }

    //分享人
    private List<Long> sharer;

    private List<Long> attendees;

    private Long crateby;

    private Long contectpeople;

    public Long getContectpeople() {
        return contectpeople;
    }

    public void setContectpeople(Long contectpeople) {
        this.contectpeople = contectpeople;
    }

    public List<Long> getAttendees() {
        return attendees;
    }

    public void setAttendees(List<Long> attendees) {
        this.attendees = attendees;
    }

    public Long getCompere() {
        return compere;
    }

    public void setCompere(Long compere) {
        this.compere = compere;
    }
//主持人
    private Long compere;

    public List<EampMeetingPeople> getPeopleList() {
        return peopleList;
    }

    public void setPeopleList(List<EampMeetingPeople> peopleList) {
        this.peopleList = peopleList;
    }

    private List<Long> attendes;
  private List<EampMeetingPeople> peopleList;

    public List<Date> getStartAndEnd() {
        return startAndEnd;
    }

    public void setStartAndEnd(List<Date> startAndEnd) {
        this.startAndEnd = startAndEnd;
    }

    //分享人
    public List<Long> getSharer() {
        return sharer;
    }



    public void setAttendes(List<Long> attendes) {
        this.attendes = attendes;
    }

    public List<Long> getAttendes() {
        return attendes;
    }

    public void setSharer(List<Long> sharer) {
        this.sharer = sharer;
    }
    public void setMeetingId(Long meetingId)
    {
        this.meetingId = meetingId;
    }

    public Long getMeetingId()
    {
        return meetingId;
    }
    public void setMeetingName(String meetingName)
    {
        this.meetingName = meetingName;
    }

    public String getMeetingName()
    {
        return meetingName;
    }
    public void setMeetingRoomId(Long meetingRoomId)
    {
        this.meetingRoomId = meetingRoomId;
    }

    public Long getMeetingRoomId()
    {
        return meetingRoomId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public void setCreatBy(Long creatBy)
    {
        this.creatBy = creatBy;
    }

    public Long getCreatBy()
    {
        return creatBy;
    }
    public void setStaus(String staus)
    {
        this.staus = staus;
    }

    public String getStaus()
    {
        return staus;
    }
    public void setDelFlg(Long delFlg)
    {
        this.delFlg = delFlg;
    }

    public Long getDelFlg()
    {
        return delFlg;
    }
    public void setUrgency(String urgency)
    {
        this.urgency = urgency;
    }

    public String getUrgency()
    {
        return urgency;
    }
    public void setMeetingType(String meetingType)
    {
        this.meetingType = meetingType;
    }

    public String getMeetingType()
    {
        return meetingType;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setMeetingPassword(String meetingPassword)
    {
        this.meetingPassword = meetingPassword;
    }

    public String getMeetingPassword()
    {
        return meetingPassword;
    }
    public void setAttachments(String attachments)
    {
        this.attachments = attachments;
    }

    public String getAttachments()
    {
        return attachments;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("meetingId", getMeetingId())
                .append("meetingName", getMeetingName())
                .append("meetingRoomId", getMeetingRoomId())
                .append("deptId", getDeptId())
                .append("creatBy", getCreatBy())
                .append("createTime", getCreateTime())
                .append("staus", getStaus())
                .append("delFlg", getDelFlg())
                .append("urgency", getUrgency())
                .append("meetingType", getMeetingType())
                .append("startDate", getStartDate())
                .append("endDate", getEndDate())
                .append("meetingPassword", getMeetingPassword())
                .append("attachments", getAttachments())
                .append("content", getContent())
                .append("remark", getRemark())
                .toString();
    }
}
